<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ include file="/static/include/taglib.jsp" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<!DOCTYPE html >
<html>
<head>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>后台管理--机构列表</title>
    <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet"/>
    <link href="${ctxStatic}/css/kpiuitanchu.css" rel="stylesheet"/>
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>

    <style>
        .indexcontent table tr {
            height: 30px
        }

        .kq {
            color: #ffffff
        }
    </style>
</head>
<body>
<div style="margin-top:10px" class="kq">
    <table>
        <tr>
            <td style="width:80px;text-align: right">出勤天数：</td>
            <td style="width:40px">${entityatt.cqts }</td>
            <td style="width:80px;text-align: right">加班天数：</td>
            <td style="width:40px">${entityatt.jbts }</td>
            <td style="width:90px;text-align: right">休假天数：</td>
            <td style="width:40px">${entityatt.nxjts }</td>
            <td style="width:90px;text-align: right">探亲假天数：</td>
            <td style="width:40px">${entityatt.tqjts }</td>
            <td style="width:80px;text-align: right">婚假天数：</td>
            <td style="width:40px">${entityatt.hjts }</td>

            <td style="width:80px;text-align: right">丧假天数：</td>
            <td style="width:40px">${entityatt.sangjts }</td>
            <td style="width:80px;text-align: right">病假天数：</td>
            <td style="width:40px">${entityatt.bjts }</td>


        </tr>
        <tr>
            <td style="width:90px;text-align: right">生育假天数：</td>
            <td style="width:40px">${entityatt.syjts }</td>
            <td style="width:80px;text-align: right">事假天数：</td>
            <td style="width:40px">${entityatt.sjts }</td>
            <td style="width:100px;text-align: right">因公致伤天数：</td>
            <td style="width:40px">${entityatt.gsts }</td>


            <td style="width:80px;text-align: right">年休假天数：</td>
            <td style="width:40px">${entityatt.qtts }</td>
            <td style="width:80px;text-align: right">迟到次数：</td>
            <td style="width:40px">${entityatt.cdcc }</td>
            <td style="width:80px;text-align: right">早退次数：</td>
            <td style="width:40px">${entityatt.ztcc }</td>
            <td style="width:80px;text-align: right">旷工次数：</td>
            <td style="width:40px">${entityatt.kgcs }</td>
        </tr>
    </table>
</div>
<div style="width:100%;text-align: right;padding:10px 0;">
    <span style="font-size: 14px;font-weight: bold;color:#ffffff">查询周期：</span>
    <span style="font-size: 14px;font-weight: bold;color:#B8E986;margin-right:20px">${sumentity.year}年  第${sumentity.quarter}季度</span>
    <span style="font-size: 14px;font-weight: bold;color:#ffffff">本季度领导评分结果：</span>
    <span style="font-size: 14px;font-weight: bold;color:#B8E986;margin-right:20px">${sumentity.pjjg}</span>
    <span style="font-size: 14px;font-weight: bold;color:#ffffff">本季度领导评分：</span>
    <span style="font-size: 14px;font-weight: bold;color:#B8E986;margin-right:20px">${sumentity.totalscore}</span>
</div>
<div class="indexcontent">
    <table cellspacing="0" cellpadding="0" border="0" class="layui-table" style="margin:0;">
        <col width="120px"></col>
        <col width="100px"></col>
        <col width="200px"></col>
        <col width="100px"></col>
        <col></col>
        <col width="100px"></col>
        <!--  <col width="150px"></col>-->
        <col width="30px"></col>
        <thead>
        <tr>
            <th>被评价人</th>
            <th>内容</th>
            <th>考核内容</th>
            <th>分值设置</th>
            <th>评价标准</th>
            <th>评分</th>
            <!--  <th >领导评议内容</th>-->
            <th></th>
        </tr>
        </thead>
    </table>

    <div class="selftable" id="selftable">
        <table cellspacing="0" cellpadding="0" border="0" class="layui-table" style="margin:0;">
            <col width="120px"></col>
            <col width="100px"></col>
            <col width="200px"></col>
            <col width="100px"></col>
            <col></col>
            <col width="100px"></col>
            <!--  <col width="150px"></col>-->
            <col width="15px"></col>
            <tbody>
            <c:forEach var="item" items="${lst}" varStatus="idxStatus">
                <tr>
                    <c:if test="${idxStatus.index==0 }">
                        <td rowspan="${fn:length(lst)}">${userentity.realname}</td>
                    </c:if>

                    <c:if test="${item.rowspan!=0 }">
                        <td rowspan="${item.rowspan}">${item.uasscontent}</td>
                    </c:if>
                    <td>${item.uassingredients}</td>
                    <td>${item.score}</td>
                    <td>${item.evaluationstandard}</td>
                    <td>${item.ldscore}</td>

                    <c:if test="${idxStatus.index==0 }">
                        <!-- <td rowspan="${fn:length(lst)}" style="padding:0">
                        ${sumentity.pynr }
                        </td>-->

                        <td rowspan="${fn:length(lst)}"></td>
                    </c:if>

                </tr>
            </c:forEach>

            <tr>
                <td>领导评议内容：</td>
                <td colspan="6">
                    ${sumentity.pynr }
                </td>
            </tr>
            <tr>
                <td>审核人：</td>
                <td>${audioName}</td>
                <td>审核时间：</td>
                <td  style="width: 170px">
                    <fmt:formatDate value="${time}" pattern="yyyy-MM-dd  HH:mm:ss"/>

                </td>
            </tr>
            </tbody>
        </table>

        <div style="width:100%;height:200px;margin-top:10px">
            <iframe src="../common/user_vtdp?userid=${sumentity.userid}&year=${sumentity.year}&quarter=${sumentity.quarter}"
                    width="100%" height="100%" style="display: block;border:0;padding:0;margin:0;" frameborder="no"
                    border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
        </div>
    </div>
</div>


<script>
    $("#selftable").height($(window).height() - 140)
</script>

</body>
</html>